]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell: Fix another indentation warning
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 9 Feb 2016 22:51:45 +0000 (23:51 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 16 Feb 2016 17:05:14 +0000 (18:05 +0100)
The compiler doesn't know about preprocessor conditionals, so indentation
changes confuse -Wmisleading-indentation.

src/shell-recorder.c

index 8a907a93e23b77f81a4a834f39a42b11f92e42a7..62ef0c4cc18c0a1ec8b3416dbe121d829b96b99d 100644 (file)
@@ -1258,12 +1258,12 @@ substitute_thread_count (const char *pipeline)
     return g_strdup (pipeline);
 
 #ifdef _SC_NPROCESSORS_ONLN
-    {
-      int n_processors = sysconf (_SC_NPROCESSORS_ONLN); /* includes hyper-threading */
-      n_threads = MIN (MAX (1, n_processors - 1), 64);
-    }
+  {
+    int n_processors = sysconf (_SC_NPROCESSORS_ONLN); /* includes hyper-threading */
+    n_threads = MIN (MAX (1, n_processors - 1), 64);
+  }
 #else
-    n_threads = 3;
+  n_threads = 3;
 #endif
 
   result = g_string_new (NULL);